USE [csce]
GO

/****** Object:  Table [dbo].[Publication]    Script Date: 10/01/2009 20:04:26 ******/
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Publication]') AND type in (N'U'))
DROP TABLE [dbo].[Publication]
GO

USE [csce]
GO

/****** Object:  Table [dbo].[Publication]    Script Date: 10/01/2009 20:04:26 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[Publication](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[title] [nvarchar](1000) NOT NULL,
	[shortDescription] [nvarchar](1000) NULL,
	[description] [nvarchar](4000) NULL,
	[type] [int] NOT NULL,
	[status] [int] NOT NULL,
	[publishingTime] [datetime] NOT NULL,
 CONSTRAINT [PK_Publicatioin] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO


